// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   LogoutAction.java

package org.fiel.struts.actions;

import javax.servlet.http.*;
import org.apache.struts.action.*;

public class LogoutAction extends Action
{

    public LogoutAction()
    {
    }

    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
        throws Exception
    {
        request.getSession().invalidate();
        request.getSession().setAttribute("userPrincipal", null);
        return mapping.findForward("inicio");
    }
}
